import React from "react";
import { HashRouter, Route, Routes } from "react-router-dom";
import BoxSort from "./pages/Box/BoxSort";
import Bubble from "./pages/Bubble/Bubble";
import Merge from "./pages/Merge/Merge";

export default function Router() {
  return (
    <HashRouter>
      <Routes>
        {/* <Route path="/"> */}
        {/* </Route> */}
        <Route path="/bubble" element={<Bubble />} />
        <Route path="/merge" element={<Merge />} />
        <Route path="/box" element={<BoxSort />} />
      </Routes>
    </HashRouter>
  );
}
